deleteTeam function Delete a team from the database. viewmodel.deleteTeam(team, confirmMessage) Delete a team from the database. Parameters team {Team} The Team to delete. confirmMessage {String} The message presented to the user in a confirm() dialog. Use in a template like: <span class="destroy-btn" ($click)="deleteTeam(., "Are you sure?")"></span>
Use in a template like: